package cn.tedu.hotel_management_system.base.exception;

/**
 * @author dkk
 * @date 2022/9/11
 * @desc
 */
public class HotelManagementException extends RuntimeException{

    private static final long serialVersionUID = 8782550939841541677L;

    public HotelManagementException(String message) {
        super(message);
    }

    public static void cast(String message){
        throw new HotelManagementException(message);
    }

}
